package com.pengtu.entity.business.detection;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

import com.pengtu.entity.business.BasicReport;

/**
 * 交工质量验收检测意见
 * 
 * @author liuyang
 * 
 */
@Entity
@Table(name = "T_Q_CASE_DETN_REPORT")
public class DetnReport extends BasicReport {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	private FlowDetection flowDetection; // 流程ID
	private String cid; // 合同段

	@ManyToOne(targetEntity = FlowDetection.class, fetch = FetchType.LAZY)
	@JoinColumn(name = "FID")
	public FlowDetection getFlowDetection() {
		return flowDetection;
	}

	public void setFlowDetection(FlowDetection flowDetection) {
		this.flowDetection = flowDetection;
	}

	@Column(name = "CID")
	public String getCid() {
		return cid;
	}

	public void setCid(String cid) {
		this.cid = cid;
	}

}
